#include "help.hpp"
using namespace std;

class Solution
{
public:
    void reverseString(vector<char> &s)
    {
        auto ret = s;

        for (int i = s.size() - 1; i >= 0; i--)
        {
            ret[s.size() - i - 1] = s[i];
        }
        s = ret;
    }
};
int main(int argc, char const *argv[])
{
    printf("\033[31m--------华丽的分割线--------\n\n\n\033[0m");

    Solution s;
    std::vector<char> mystring = {'H', 'e', 'l', 'l', 'o'};
    s.reverseString(mystring);

    printf("\033[31m--------华丽的分割线--------\033[0m");
    return 0;
}
